Skip to content

Expand shared scalar basis and align complex JVP rules#4

Merged
shinaoka merged 32 commits intomainfrom
shared-scalar-basis
Mar 21, 2026
Merged

Expand shared scalar basis and align complex JVP rules#4
shinaoka merged 32 commits intomainfrom
shared-scalar-basis

Conversation

@shinaoka
Copy link
Copy Markdown
Member

Summary

  • expand chainrules into a broader shared scalar basis with smooth, non-smooth, complex, and Julia compatibility helpers adapted from ChainRules.jl
  • align complex frule behavior with standard JVP on C ~= R^2 while keeping rrule behavior conjugate-Wirtinger and replay selected Complex64 oracle cases directly
  • remove unused projection helpers and refresh README/docs to match the implemented validation and AD conventions

Test Plan

  • cargo fmt --all --check
  • cargo nextest run --release --workspace --no-fail-fast
  • cargo test --doc --release --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo llvm-cov nextest --workspace --release --json --output-path coverage.json
  • python3 scripts/check-coverage.py coverage.json
  • cargo doc --workspace --no-deps
  • python3 scripts/check-docs-site.py

Generated with Codex.

shinaoka and others added 30 commits March 20, 2026 08:58
Cargo.toml already declares `license = "MIT OR Apache-2.0"` but the
actual license text files were missing from the repository.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shinaoka shinaoka enabled auto-merge (squash) March 21, 2026 09:50
@shinaoka shinaoka merged commit c45a230 into main Mar 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant